package net.kazed.nextaction.database;

import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;

public class TaskQuery extends QueryTemplate {

    /**
     * Constructor.
     * @param db Database.
     */
    public TaskQuery(SQLiteDatabase db) {
        super(db);
    }

    /**
     * Map row to object.
     * @param cursor Query cursor.
     * @return Mapped object.
     */
    public Task mapRow(Cursor cursor) {
        return new Task(cursor);
    }

}
